package com.learn.multi_thread.D_CompletableFuture.demo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
public class Goods {
    private Integer id;
    private String name;
    private BigDecimal price;
    private Integer repo;
    private Integer buyerNum;
    private List<String> comment;

    public Goods(Integer id, String name, BigDecimal price) {
        this.id = id;
        this.name = name;
        this.price = price;
    }
}
